package com.techstar.ats.type;

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public enum TgType implements Enumerated {
	PLAN(1, "计划图"),
	ACTUAL(2, "实际图");
	private final int value;
	private final String literal;

	@Override
	public int value() {
		return value;
	}

	public String literal() {
		return this.literal;
	}

	public static TgType valueOf(int value) {
		return Enumerated.valueOf(TgType.class, value);
	}
}
